<?php

namespace app\controller;

use app\BaseController;

class Event extends BaseController {

    public function event(): string
    {
        // 直接使用事件类触发
        event('app\event\EventStudy');
        return 'hello, event';
    }

}